/**
 * 
 */
package br.org.bertol.mestrado.engine.optimisation;

import java.util.Comparator;

/**
 * @author contaqualquer
 *
 */
public class OrdenatePareto<U extends Unit> implements Comparator<U> {

	@Override
	public int compare(U left, U right) {
		
		final int pareto = (new ParetoDominace()).compare(left.getHeight(), right.getHeight());
		
		return pareto;
	}

}
